package com.wang.service;



import javax.jws.WebService;
import javax.xml.ws.Endpoint;


/**
 * @Classname OneService
 * @Description TODO
 * @Date 2024/5/31 11:20
 * @Created by pc
 */
@WebService
public class OneService{

    public String sayHello(String msg) {
        System.out.println("执行了..." + msg);
        return "123123" + msg;
    }

    public static void main(String[] args) {
        Endpoint.publish("http://localhost:9999/one",new OneService());

    }
}
